package edu.pku.taas.hyperic.monitor;

public interface MonitorConstants {
	public static final String HQ_MONITOR_AGENT_PORT ="hq.monitor.agent.port";
	
	public static final String RESOURCE_MONITOR_RESPONSE_OVERTIME_THRESHOLD = "hq.resource.monitor.reponse.overtimethreshold";// overtimeThreshold
	public static final String CLOUD_MASTER_IP = "cloud.cloud.master.ip";
	public static final String CLOUD_MASTER_HOST_NAME = "cloud.cloud.master.hostname";
	
	public static final String CLOUD_MONITOR_DB_URL = "cloud.monitor.db.url";
	public static final String CLOUD_MONITOR_DB_USER_NAME = "cloud.monitor.db.username";
	public static final String CLOUD_MONITOR_DB_PWD = "cloud.monitor.db.pwd";
	
	public static final String CLUSTER_MASTER_HOST_NAME = "cloud.cluster.master.hostname";
	public static final String CLUSTER_MASTER_IP = "cloud.cluster.master.ip";
	public static final String CLUSTER_MASTER_PORT = "cloud.cluster.master.port";
	
	public static final String CLUSTER_CONF_SUFFIX = ".cluster";
	
	public static final String CLUSTER_NUM = "cloud.cluster.num";
	
	public static final String ROOT_LOG_LEVEL = "cloud.monitor.log.level";
	
	public static final int RESOURCE_CLOUD_TYPE = 1;
	public static final int RESOURCE_CLUSTER_TYPE = 2;
	public static final int RESOURCE_PHYSICAL_MACHINE_TYPE = 3;	
	public static final int RESOURCE_MONITORABLE_RESOURCE_TYPE = 4;
	public static final int RESOURCE_XENSERVER_TYPE = 10;
	public static final int RESOURCE_VIRTUAL_MACHINE_TYPE = 11;
	
	public static final int XEN_HOST_TYPE = 10141;
	public static final int XEN_VM_SERVER_TYPE = 10143;
	
}
